
// 自动生成模板ServiceOrders
package equipment_maintenance
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"time"
)

// serviceOrders表 结构体  ServiceOrders
type ServiceOrders struct {
    global.GVA_MODEL
  OrderNumber  *string `json:"orderNumber" form:"orderNumber" gorm:"comment:单号;column:order_number;size:20;"`  //单号
  ServiceType  *string `json:"serviceType" form:"serviceType" gorm:"comment:服务;column:service_type;size:50;"`  //服务
  EquipmentCount  *int `json:"equipmentCount" form:"equipmentCount" gorm:"comment:设备(台);column:equipment_count;size:10;"`  //设备(台)
  Status  *string `json:"status" form:"status" gorm:"comment:状态 :1:未审核 2:待审核 3:已审核 4:已取消 5:待复核;column:status;size:10;"`  //状态 :1:未审核 2:待审核 3:已审核 4:已取消 5:待复核
  Processor  *string `json:"processor" form:"processor" gorm:"comment:待处理人;column:processor;size:50;"`  //待处理人
  ApplicationDate  *time.Time `json:"applicationDate" form:"applicationDate" gorm:"comment:申请日期;column:application_date;"`  //申请日期
}


// TableName serviceOrders表 ServiceOrders自定义表名 service_orders
func (ServiceOrders) TableName() string {
    return "service_orders"
}





